package com.woniu.after.common;


import com.woniu.result.ResultCode;

public enum OrderException implements ResultCode {

    ORDER_NON_EXISTENT(5101, "订单不存在");

    private int code;
    private String message;

    private OrderException(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }
}
